package com.hk.admin.module.system.dao;


import com.hk.admin.common.model.system.UserModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * <br>
 * <b>功能：</b><br>
 * <b>作者：</b>Pan.ShiJu<br>
 * <b>日期：</b>2017/6/19 17:10<br>
 */
public interface UserRepository extends JpaRepository<UserModel, Long>, JpaSpecificationExecutor<UserModel> {

    UserModel findByPhoneNumberAndDeleted(String userName, Integer deleted);

}
